package main

import (
	"fmt"
	"time"
)

func main() {
	asyncFor()
}

func asyncFor() {
	for i := 0; i < 10; i++ {
		fmt.Println("xxx=", i)
		//阻塞间隔1s
		time.Sleep(time.Second)
	}
}
